<?php
namespace haibao\cms\model\data;

class VideoRelTag extends Base{
    const IS_PRIMARY = 1;
    const IS_NOPRIMARY = 0;
    /**
     * 视频Id
     */
    public $VideoId;
    /**
     * 标签Id
     */
    public $TagId;
    /**
     * 是否是主标签
     */
    public $IsPrimary;
    
    public $TagName;
    public $VideoInfo;
    public $ImageUrl;
    
    public function __construct(){
        parent::__construct();
        
        $this->intField('VideoId', 'VideoId', true);
        $this->intField('TagId', 'TagId', true);
        $this->intField('IsPrimary', 'IsPrimary', true);
        $this->setTableName('VideoRelTag');
    }
}